#!/bin/bash
#
COMPRESS_PATH=~/NetBeansProjects/.libs/compress

echo "compress *.js"

#-------------------------------------
# js
/usr/bin/java -classpath $COMPRESS_PATH/rhino-1.6R7.jar \
              -classpath $COMPRESS_PATH/jargs-1.0.jar \
              -jar $COMPRESS_PATH/yuicompressor-2.4.2.jar \
              -o ../../js/cvtrack.js ./cvtrack.js

#cp ./cvtrack.js ../../js/cvtrack.js
cp ./cvtracktest.js ../../js/cvtracktest.js

echo "*.js Done"

exit 0
